things to consider while buying a flat